package com.big.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.big.app.dto.FoodsDto;
import com.big.app.entity.Foods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FoodsDao extends BaseMapper<Foods> {
    List<FoodsDto> selectListAll();
    FoodsDto selectDetail(@Param("id") int id);
    List<FoodsDto> selectByName(String name);

    List<FoodsDto> selectByFlag(int flag);
}
